package cn.wd.service;

import cn.wd.domain.User;
import cn.wd.vo.LoginInfo;

public interface IUserService extends IService<User, Long> {

    User selectUsername(String username);

    void changeStatus(Long id, Integer status);

    void logicDeleteById(Long id, boolean deleted);

    void restPassword(String token, String newPassword, String oldPassword);

    LoginInfo getLoginInfo(String token);

    String login(String username, String password);
}
